<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions" 
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="Examples">

  <process id="process" isExecutable="true">

    <startEvent id="theStart" />

    <sequenceFlow id="flow1" sourceRef="theStart" targetRef="subProcess" />

    <subProcess id="subProcess">

      <startEvent id="theInnterStart" />

      <sequenceFlow id="innerFlow1" sourceRef="theInnterStart" targetRef="serviceTask" />

      <serviceTask id="serviceTask" camunda:async="true" camunda:class="org.camunda.bpm.engine.test.api.runtime.FailingDelegate" />

      <sequenceFlow id="innerFlow2" sourceRef="serviceTask" targetRef="theInnerEnd" />

      <endEvent id="theInnerEnd" />

    </subProcess>

    <sequenceFlow id="flow2" sourceRef="subProcess" targetRef="theEnd" />

    <endEvent id="theEnd" />

  </process>

</definitions>
